package com.cn.crmsystem.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "Notice:公告实体类数据类型")
public class Notice implements Serializable {
    @ApiModelProperty("公告数据编号")
    private Integer id;
    @ApiModelProperty("公告主题")
    private String title;
    @ApiModelProperty("公告生成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date create_time;
    @ApiModelProperty("删除状态:(0:显示;1:隐藏)")
    private Integer delete_state;
    @ApiModelProperty("发布人id")
    private Integer operator_id;
    @ApiModelProperty("发布人姓名")
    private String operator_name;
    @ApiModelProperty("公告内容")
    private String content;


    public String getOperator_name() {
        return operator_name;
    }

    public void setOperator_name(String operator_name) {
        this.operator_name = operator_name;
    }

    public Integer getOperator_id() {

        return operator_id;
    }

    public void setOperator_id(Integer operator_id) {
        this.operator_id = operator_id;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public Integer getDelete_state() {
        return delete_state;
    }

    public void setDelete_state(Integer delete_state) {
        this.delete_state = delete_state;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
